<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="en">
 <head>
  <title>Units: px and dependent font-size</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/units/010-detailed.html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
  <style type="text/css">
   .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
   div { font: 1em/1 Ahem; margin: 5px; color: blue; }
   .px { font-size: 20px; }
   .pt { font-size: 20pt; }
  </style>
 </head>
 <body>
  <div class="control">Ahem_font_required_for_this_test.</div>

  <p>There are two bars below. The first is 600px long, the second 600pt.</p>

  <div class="px">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div>
  <div class="pt">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</div>

  <p>On a screen, assuming 96dpi, 600px is exactly 600 device pixels
  long, and 600pt should be exactly 800 device pixels.</p>

  <p>On a printer, 600px should be exactly 120mm assuming a normal
  printer and normal viewing distance, regardless of the resolution of
  the device, and 600pt should be a physical 212mm (to 3sf).</p>
 </body>
</html>
